/**==============================================================================
            Copyright (c) 2013 Moritz Hader, Marcel Schrder
            All Rights Reserved.

	@file  Marker.java

	@brief Browser internal representation of a Marker from the IS

  This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
    the Free Software Foundation, either version 3 of the License, or
    (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU General Public License for more details.

    You should have received a copy of the GNU General Public License
    along with this program.  If not, see <http://www.gnu.org/licenses/>.
==============================================================================*/
package de.ibm.dhbw.backing.dataHolding;

/**
 * @author Marcel Schroeder - marcel_schroeder89@hotmail.com
 */
public class Marker {
	
	//----------- Properties and Constructor -----------//

	private int id;
	private float IS_posX;
	private float IS_posY;
	
	public Marker(int id, float IS_posX, float IS_posY) {
		this.id = id;
		this.IS_posX = IS_posX;
		this.IS_posY = IS_posY;
	}
	
	
	//----------- External Methods -----------//
	
	/**
	 * Generates a String containing the values of the object properties
	 */
	@Override
	public String toString() {
		String marker = "Marker id:" + this.id + ", x:" + this.IS_posX + "|y:" + this.IS_posY;
		return marker;
	}

	
	//----------- Simple Getter and Setter -----------//
	
	public int getId() {
		return id;
	}
	public float getIS_posX() {
		return IS_posX;
	}
	public float getIS_posY() {
		return IS_posY;
	}		
}
